package org.example;

import org.example.store.DdlBuildrRepository;
import org.example.store.DdlWrappersRepository;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan
@EnableConfigurationProperties(DDlConfiguration.class)
public class DDlConfiguration {



    @Bean
    public DdlBuildrRepository ddlBuildrRepository() {
        return new DdlBuildrRepository();
    }

    @Bean
    public DdlWrappersRepository ddlWrappersRepository() {
        return new DdlWrappersRepository();
    }


}
